package com.zjhn.ds.service;

import com.zjhn.ds.common.BizResult;
import com.zjhn.ds.common.PageResult;
import com.zjhn.ds.domain.dto.pc.EquipmentDto;
import com.zjhn.ds.domain.dto.pc.StationDto;
import com.zjhn.ds.param.AddUpdateEquipmentParam;
import com.zjhn.ds.param.AddUpdateStationParam;
import com.zjhn.ds.param.EquipmentPageParam;
import com.zjhn.ds.param.StationPageParam;

public interface DeviceService {

    // 新增/更新设备机台信息
    BizResult<?> addUpdateEquipment(AddUpdateEquipmentParam param);

    // 删除设备机台
    BizResult<?> removeEquipment(String equipmentId);

    // 按条件分页查询设备机台信息
    BizResult<PageResult<EquipmentDto>> equipmentPage(EquipmentPageParam param);

    // 新增/更新工位信息
    BizResult<?> addUpdateStation(AddUpdateStationParam param);

    // 删除工位信息
    BizResult<?> removeStation(String stationId);

    // 按条件分页查询工位信息
    BizResult<PageResult<StationDto>> stationPage(StationPageParam param);
}
